﻿using System;
using System.Collections.Generic;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

public partial class order_charge : FBasePage
{
    // Fields
    public string Amt;

    public string money;
    public Maticsoft.BLL.Order orderbll = new Maticsoft.BLL.Order();
    public string orderid;
    public string paytype = "";
    public string pd_FrpId;
    public string Pid;
    public string service;
    public Maticsoft.BLL.System sysbll = new Maticsoft.BLL.System();
    public Maticsoft.Model.System sysmodel = new Maticsoft.Model.System();

    // Methods
    public void GetMoney()
    {
        this.sysmodel = this.sysbll.GetModel(1);
        this.Pid = this.sysmodel.abbreviation + "充值" + this.money;
    }

    protected override void OnLoad(EventArgs e)
    {
        base.OnLoad(e);
        if (!(this.Page.User.Identity.IsAuthenticated && !(this.Page.User.Identity.Name == "")))
        {
            base.Response.Redirect("/account/Login.aspx");
        }
        if (base.Request["fee"] != null)
        {
            this.money = base.Request["fee"].ToString();
        }
        if (base.Request["pd_FrpId"] != null)
        {
            this.pd_FrpId = base.Request["pd_FrpId"].ToString();
        }
        if (base.Request["orderid"] != null)
        {
            this.orderid = base.Request["orderid"].ToString();
        }
        if (base.Request["paytype"] != null)
        {
            this.paytype = base.Request["paytype"].ToString();
        }
        this.GetMoney();
        this.Amt = this.money;
    }

}